package com.ujiuye.bean;

import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Document(collection = "col_members")
public class Member implements Serializable {
    private static final long serialVersionUID = 1L;

    private String _id;
    private String m_nickname;
    private Date m_regtime;

    public String get_id() {
        return _id;
    }
    public void set_id(String _id) {
        this._id = _id;
    }
    public String getM_nickname() {
        return m_nickname;
    }
    public void setM_nickname(String m_nickname) {
        this.m_nickname = m_nickname;
    }
    public Date getM_regtime() {
        return m_regtime;
    }
    public void setM_regtime(Date m_regtime) {
        this.m_regtime = m_regtime;
    }
    @Override
    public String toString() {
        return "Member [_id=" + _id + ", m_nickname=" + m_nickname + ", m_regtime="+m_regtime+"]";
    }
}
